home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 November / Macworld (1999-11).dmg / Updaters / WhiteCap 3.0.4 / WhiteCap Source.sit / WhiteCap Source / Common / General Tools / Headers / FileSpecList.h < prev    next >
MacBinary  |  1999-07-13  |  1.9 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Jul 13 21:53:55 1999, modified Tue Jul 13 21:53:55 1999, creator 'CWIE', type ASCII, 1157 bytes "FileSpecList.h" , at 0x505 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 46 69 6c 65 53 70 | 65 63 4c 69 73 74 2e 68 |..FileSp|ecList.h|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 04 85 00 | 00 01 9a b3 b1 9e 33 b3 |........|......3.|
|00000060| b1 9e 33 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..3.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 af 12 00 00 |........|........|
|00000080| 23 69 66 6e 64 65 66 20 | 5f 46 69 6c 65 53 70 65 |#ifndef |_FileSpe|
|00000090| 63 4c 69 73 74 5f 0d 23 | 64 65 66 69 6e 65 20 5f |cList_.#|define _|
|000000a0| 46 69 6c 65 53 70 65 63 | 4c 69 73 74 5f 0d 0d 0d |FileSpec|List_...|
|000000b0| 23 69 6e 63 6c 75 64 65 | 20 22 58 53 74 72 4c 69 |#include| "XStrLi|
|000000c0| 73 74 2e 68 22 0d 0d 63 | 6c 61 73 73 20 43 45 67 |st.h"..c|lass CEg|
|000000d0| 46 69 6c 65 53 70 65 63 | 3b 0d 0d 2f 2f 20 44 65 |FileSpec|;..// De|
|000000e0| 73 69 67 6e 65 64 20 74 | 6f 20 72 65 70 72 65 73 |signed t|o repres|
|000000f0| 65 6e 74 20 61 20 6c 69 | 73 74 20 6f 66 20 66 69 |ent a li|st of fi|
|00000100| 6c 65 20 73 70 65 63 73 | 2e 0d 63 6c 61 73 73 20 |le specs|..class |
|00000110| 46 69 6c 65 53 70 65 63 | 4c 69 73 74 20 7b 0d 0d |FileSpec|List {..|
|00000120| 09 70 75 62 6c 69 63 3a | 0d 09 09 09 09 09 09 09 |.public:|........|
|00000130| 09 46 69 6c 65 53 70 65 | 63 4c 69 73 74 28 20 58 |.FileSpe|cList( X|
|00000140| 53 74 72 4c 69 73 74 4f | 70 74 73 54 20 69 6e 4f |StrListO|ptsT inO|
|00000150| 70 74 69 6f 6e 2c 20 4c | 69 73 74 4f 72 64 65 72 |ption, L|istOrder|
|00000160| 69 6e 67 54 20 69 6e 4f | 72 64 65 72 69 6e 67 20 |ingT inO|rdering |
|00000170| 29 3b 0d 09 09 76 69 72 | 74 75 61 6c 09 09 09 09 |);...vir|tual....|
|00000180| 09 7e 46 69 6c 65 53 70 | 65 63 4c 69 73 74 28 29 |.~FileSp|ecList()|
|00000190| 3b 0d 0d 09 09 2f 2f 20 | 52 65 6d 6f 76 65 73 20 |;....// |Removes |
|000001a0| 61 6c 6c 20 74 68 65 20 | 66 69 6c 65 73 20 73 70 |all the |files sp|
|000001b0| 65 63 73 20 66 72 6f 6d | 20 74 68 69 73 20 6c 69 |ecs from| this li|
|000001c0| 73 74 0d 09 09 76 6f 69 | 64 09 09 09 09 09 52 65 |st...voi|d.....Re|
|000001d0| 6d 6f 76 65 41 6c 6c 28 | 29 3b 0d 09 09 0d 09 09 |moveAll(|);......|
|000001e0| 2f 2f 20 4d 61 6b 65 73 | 20 61 20 70 72 69 76 61 |// Makes| a priva|
|000001f0| 74 65 20 63 6f 70 79 20 | 6f 66 20 74 68 65 20 67 |te copy |of the g|
|00000200| 69 76 65 6e 20 73 70 65 | 63 20 61 6e 64 20 69 6e |iven spe|c and in|
|00000210| 73 65 72 74 73 20 69 74 | 20 69 6e 74 6f 20 74 68 |serts it| into th|
|00000220| 69 73 20 6c 69 73 74 2e | 20 20 54 68 65 20 6e 75 |is list.| The nu|
|00000230| 6d 62 65 72 0d 09 09 2f | 2f 20 72 65 74 75 72 6e |mber.../|/ return|
|00000240| 65 64 20 69 73 20 77 68 | 61 74 20 65 6c 65 6d 65 |ed is wh|at eleme|
|00000250| 6e 74 20 74 68 65 20 73 | 70 65 63 20 6e 6f 77 20 |nt the s|pec now |
|00000260| 69 73 20 69 6e 20 74 68 | 69 73 20 6c 69 73 74 20 |is in th|is list |
|00000270| 28 31 2d 62 61 73 65 64 | 20 69 6e 64 65 78 69 6e |(1-based| indexin|
|00000280| 67 29 0d 09 09 6c 6f 6e | 67 09 09 09 09 09 41 64 |g)...lon|g.....Ad|
|00000290| 64 43 6f 70 79 28 20 63 | 6f 6e 73 74 20 43 45 67 |dCopy( c|onst CEg|
|000002a0| 46 69 6c 65 53 70 65 63 | 26 20 69 6e 53 70 65 63 |FileSpec|& inSpec|
|000002b0| 20 29 3b 0d 0d 09 09 2f | 2f 20 47 65 74 20 61 63 | );..../|/ Get ac|
|000002c0| 63 65 73 73 20 74 6f 20 | 74 68 65 20 63 65 72 74 |cess to |the cert|
|000002d0| 61 69 6e 20 73 70 65 63 | 0d 09 09 63 6f 6e 73 74 |ain spec|...const|
|000002e0| 20 43 45 67 46 69 6c 65 | 53 70 65 63 2a 09 09 46 | CEgFile|Spec*..F|
|000002f0| 65 74 63 68 53 70 65 63 | 28 20 69 6e 74 20 69 6e |etchSpec|( int in|
|00000300| 49 6e 64 65 78 20 29 20 | 63 6f 6e 73 74 3b 09 0d |Index ) |const;..|
|00000310| 09 09 0d 09 09 2f 2f 20 | 53 65 65 20 77 68 61 74 |.....// |See what|
|00000320| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 74 68 65 | the nam|e of the|
|00000330| 20 69 74 68 20 69 74 65 | 6d 20 69 73 20 28 31 2d | ith ite|m is (1-|
|00000340| 62 61 73 65 64 20 69 6e | 64 65 78 69 6e 67 29 0d |based in|dexing).|
|00000350| 09 09 63 6f 6e 73 74 20 | 55 74 69 6c 53 74 72 2a |..const |UtilStr*|
|00000360| 09 09 09 46 65 74 63 68 | 53 70 65 63 4e 61 6d 65 |...Fetch|SpecName|
|00000370| 28 20 69 6e 74 20 69 6e | 49 6e 64 65 78 20 29 20 |( int in|Index ) |
|00000380| 63 6f 6e 73 74 3b 0d 09 | 09 62 6f 6f 6c 09 09 09 |const;..|.bool...|
|00000390| 09 09 46 65 74 63 68 53 | 70 65 63 4e 61 6d 65 28 |..FetchS|pecName(|
|000003a0| 20 69 6e 74 20 69 6e 49 | 6e 64 65 78 2c 20 55 74 | int inI|ndex, Ut|
|000003b0| 69 6c 53 74 72 26 20 6f | 75 74 53 74 72 20 29 20 |ilStr& o|utStr ) |
|000003c0| 63 6f 6e 73 74 3b 0d 0d | 09 09 2f 2f 20 4c 6f 6f |const;..|..// Loo|
|000003d0| 6b 20 66 6f 72 20 61 20 | 69 74 65 6d 20 77 69 74 |k for a |item wit|
|000003e0| 68 20 74 68 65 20 67 69 | 76 65 6e 20 6e 61 6d 65 |h the gi|ven name|
|000003f0| 2e 20 20 49 66 20 6e 6f | 74 68 69 6e 67 20 69 73 |. If no|thing is|
|00000400| 20 66 6f 75 6e 64 2c 20 | 30 20 69 73 20 72 65 74 | found, |0 is ret|
|00000410| 75 72 6e 65 64 0d 09 09 | 6c 6f 6e 67 09 09 09 09 |urned...|long....|
|00000420| 09 4c 6f 6f 6b 75 70 28 | 20 55 74 69 6c 53 74 72 |.Lookup(| UtilStr|
|00000430| 26 20 69 6e 4e 61 6d 65 | 20 29 20 63 6f 6e 73 74 |& inName| ) const|
|00000440| 3b 0d 09 09 0d 09 09 2f | 2f 20 52 65 74 75 72 6e |;....../|/ Return|
|00000450| 73 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |s the nu|mber of |
|00000460| 73 70 65 63 73 20 69 6e | 20 74 68 69 73 20 6c 69 |specs in| this li|
|00000470| 73 74 0d 09 09 6c 6f 6e | 67 09 09 09 09 09 43 6f |st...lon|g.....Co|
|00000480| 75 6e 74 28 29 20 63 6f | 6e 73 74 09 09 09 09 09 |unt() co|nst.....|
|00000490| 09 09 09 09 09 7b 20 72 | 65 74 75 72 6e 20 6d 53 |.....{ r|eturn mS|
|000004a0| 70 65 63 4e 61 6d 65 73 | 2e 43 6f 75 6e 74 28 29 |pecNames|.Count()|
|000004b0| 3b 09 09 7d 0d 09 09 0d | 09 09 0d 09 70 72 6f 74 |;..}....|....prot|
|000004c0| 65 63 74 65 64 3a 0d 09 | 09 58 53 74 72 4c 69 73 |ected:..|.XStrLis|
|000004d0| 74 09 09 09 09 6d 53 70 | 65 63 4e 61 6d 65 73 3b |t....mSp|ecNames;|
|000004e0| 0d 09 09 58 50 74 72 4c | 69 73 74 09 09 09 09 6d |...XPtrL|ist....m|
|000004f0| 53 70 65 63 73 3b 0d 09 | 09 0d 7d 3b 0d 0d 0d 23 |Specs;..|..};...#|
|00000500| 65 6e 64 69 66 00 00 00 | 00 00 00 00 00 00 00 00 |endif...|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000590| 00 00 04 91 bc 91 ea 84 | 28 01 00 00 00 00 80 af |........|(.......|
|000005a0| 00 00 00 16 89 6a c0 0a | 00 00 04 91 ef 92 42 89 |.....j..|......B.|
|000005b0| 8a 01 00 00 00 00 80 b0 | 00 00 00 16 83 4f c0 0a |........|.....O..|
|000005c0| 00 00 04 92 47 92 c2 81 | 25 01 00 00 00 00 80 b1 |....G...|%.......|
|000005d0| 00 00 00 16 89 a3 c0 0a | 00 00 04 92 c5 93 27 84 |........|......'.|
|000005e0| c3 01 00 00 00 00 80 b2 | 00 00 00 16 89 a3 c0 0a |........|........|
|000005f0| 00 00 04 93 34 93 a3 85 | 91 01 00 00 00 00 80 b3 |....4...|........|
|00000600| 00 00 00 16 89 a3 c0 0a | 00 00 04 93 a6 94 82 81 |........|........|
|00000610| 0a 01 00 00 00 00 80 b4 | 00 00 00 16 81 8d c0 0a |........|........|
|00000620| 00 00 04 94 86 94 ef 88 | e6 01 00 00 00 00 80 b5 |........|........|
|00000630| 00 00 00 16 81 8d c0 0a | 00 00 04 94 f4 96 a3 88 |........|........|
|00000640| ed 01 00 00 00 00 80 b6 | 00 00 00 16 82 24 c0 0a |........|.....$..|
|00000650| 00 00 10 86 e9 8d 02 81 | 68 01 00 00 00 00 80 b7 |........|h.......|
|00000660| 00 00 00 14 84 20 c0 0a | 00 00 10 2f 6f 88 d5 01 |..... ..|.../o...|
|00000670| 00 00 00 00 80 b8 00 00 | 00 15 85 99 c0 0a 00 00 |........|........|
|00000680| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006a0| 00 00 00 00 00 00 00 03 | 00 04 00 50 00 12 02 46 |........|...P...F|
|000006b0| 02 68 00 50 00 12 02 46 | 02 68 b3 b1 57 e3 00 00 |.h.P...F|.h..W...|
|000006c0| 00 3a 00 00 00 44 00 00 | 00 17 01 00 00 00 00 04 |.:...D..|........|
|000006d0| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|000006e0| 00 00 00 46 04 f9 79 34 | 16 c6 00 00 00 1c 00 46 |...F..y4|.......F|
|000006f0| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000700| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000710| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+